<?php


get_header();
if (have_posts()) : while(have_posts()) : the_post();
?>
 <!--contact start-->
<section class="blog blog-detail" id="blog">
    <div id="post-<?php the_ID(); ?>" <?php post_class('container topCon') ?>>
		<div class="row">
	        <div class="col-lg-9">
		      	<div class="heading">
		          	<h2><?php the_title() ?></h2>
		      	</div>
		      	<div class="post-title">
		        	<?php qva_get_meta_data(); ?>
		      </div>
		    </div>
		 </div>

      	<div class="row">	
	        <div class="col-lg-9">
	          	<div class="post post-single">
	                <div class="inner-spacer-right-lrg">
	                  <div class="post-media">
	                      <?php qva_view_type($post->ID); ?>
	                  </div>
	                  
	                </div>

	                <div class="post-body">
	                  	<?php the_content(); ?>
	                  	<?php wp_link_pages( ); ?>
	                </div>

	                <?php edit_post_link('Edit this entry.', '<br /><p class="edit-this">', '</p>'); ?>

	          	</div>

          	 	<?php comments_template( '', true ); ?>

	        </div>

	      
	        <div class="col-lg-3">
	          <div class="sidebar">
	            <?php get_sidebar(); ?>
	          </div><!-- end sidebar -->
	        </div>
	    	

      	</div>

    </div>
</section>
<?php endwhile;endif;wp_reset_postdata(); ?>
<?php 

get_footer();
?>